<!DOCTYPE html>

<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>指令</title>
        <style>
            [v-cloak] { display: none ; }
        </style>
    </head>
    <body>

        <div class="app">
            <p v-cloak> {{datetime}} </p>
        </div>

        <a href="/index.html">返回首页</a>

        <script src="/javascripts/vue@3.0.11.js" ></script>
        <script>
            const app = Vue.createApp( {
                data(){
                    return { datetime: new Date() }
                }
            } );

            app.mount( '.app' );
        </script>

    </body>
</html>